package com.service.totalauth.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 配置信息表(CompanyInfo)实体类
 *
 * @author makejava
 * @since 2021-12-03 09:38:46
 */
@Data
public class CompanyInfo implements Serializable {
    private static final long serialVersionUID = 214092153176080815L;
    /**
     * 主键id
     */
    private String id;
    /**
     * 企业名称
     */
    private String cpName;
    /**
     * 企业唯一id
     */
    private String appId;
    /**
     * 应用唯一密钥
     */
    private String secret;
    /**
     * 应用唯一agentid
     */
    private String agentId;
    /**
     * 需要跳转的企业认证的url
     */
    private String qywxUrl;
    /**
     * 用户id
     */
    private String manageId;
    /**
     * 生成url页面时拼接的参数
     */
    private String urlNumber;
    /**
     * 1--飞书 2--钉钉 3--app 0--普通
     */
    private Integer type;
    /**
     * cp_adder
     */
    private String cpAdder;
    /**
     * 添加时间
     */
    private Date cpAddTime;
    /**
     * cp_updater
     */
    private String cpUpdater;
    /**
     * 更新时间
     */
    private Date cpUpdateTime;

    private String miniAppId;
    private String corpId;
    private boolean cStatus;
    private String appDownloadUrl;
    private String companyInfoId;

    private String aliPrivateKey;
    private String aliPublicKey;

    public boolean iscStatus() {
        return cStatus;
    }

    public void setcStatus(boolean cStatus) {
        this.cStatus = cStatus;
    }
}
